package com.ruibang.glass.quality.domain.req;

import com.ruibang.glass.quality.domain.resp.SpcXbarAbnormalJudgment;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @Author: songJinKang
 * @CreateTime: 2023-10-23  18:17
 * @Description: TODO:
 * @Version: 1.0
 */
@Data
public class IMRControlDiagramReq implements Serializable {

    @ApiModelProperty("规则")
    private List<SpcXbarAbnormalJudgment> spcXbarAbnormalJudgment;

    @ApiModelProperty("样本数据")
    @NotNull(message = "样本数据不可为空")
    private List<BigDecimal> data;

    @ApiModelProperty("头名称")
    @NotNull(message = "头名称不可为空")
    private String headerName;

}
